﻿<UserControl x:Class="QuickMail.View.Controls.ReceiveControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             FontSize="14"
             FontWeight="DemiBold"
             d:DesignHeight="200" d:DesignWidth="400">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="130"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <TextBlock Grid.Row="0" Grid.Column="0" x:Name="MailFromTextBlock" Text="From:" Margin="5" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"/>
        <TextBox Grid.Row="0" Grid.Column="1" Margin="5" x:Name="MailFromTextBox"/>

        <TextBlock Grid.Row="1" Grid.Column="0" x:Name="FilesTypesTextBlock" Text="File types:" Margin="5" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"/>
        <TextBox Grid.Row="1" Grid.Column="1" Margin="5" x:Name="FilesTypesTextBox" />

        <TextBlock Grid.Row="2" Grid.Column="0" x:Name="ReplacementTextBlock" Text="Action on match:" Margin="5" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"/>
        <ComboBox Grid.Row="2" Grid.Column="1" Margin="5" x:Name="ReplacementComboBox" SelectedIndex="0">
            <ComboBoxItem x:Name="RenameItem" Content="Rename"/>
            <ComboBoxItem x:Name="ReplaceItem" Content="Replace"/>
            <ComboBoxItem x:Name="SkipItem" Content="Skip"/>
        </ComboBox>

        <TextBlock Grid.Row="3" Grid.Column="0" x:Name="TextMessageTextBlock" Text="Message text: " Margin="5" 
                   VerticalAlignment="Center" HorizontalAlignment="Left"/>
        <CheckBox Grid.Row="3" Grid.Column="1" Margin="5" x:Name="SaveMessageCheckBox"
                  Content="Save to file"/>
    </Grid>
</UserControl>
